package com.questionGenerator.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.questionGenerator.model.QuestionDO;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * Created with IntelliJ IDEA.
 *
 * @Author: usagi
 * @Date: 2024/04/18/23:52
 * @Description:
 */
@Repository
public interface QuestionMapper extends BaseMapper<QuestionDO> {

    Integer selectCountByKnowledgePoint(@Param("point")String point);
    Integer selectCountByLanguage(@Param("language") String language);
    Integer selectCountByTypeId(@Param("typeId") Integer typeId);
}
